package com.flannery.demotest;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.flannery.demotest.keyboard.KeyboardDemoActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initKeyboardDemoButton();
    }

    private void initKeyboardDemoButton() {
        findViewById(R.id.startKeybordActivity).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                KeyboardDemoActivity.startKeyboardDemoActivity(MainActivity.this);
            }
        });
    }
}
